export const options = {
  code1: '<p><b1>map.</b1><b3>addAreas</b3><b4>(</b4><b3>options</b3><b4>)</b4>;</p>',
  code2: '<p><b1>map.</b1><b3>deleteAreaById</b3><b4>(</b4><b3>图层ID, [区域ID]</b3><b4>)</b4>;</p>',
  options1: [
    {
      name: "id",
      type: "String",
      default: '',
      desc: "图层ID",
    },
    {
      name: "list",
      type: "Array",
      default: '',
      desc: "区域点集合，详见List表",
    },
    {
      name: "style",
      type: "Object",
      default: '',
      desc: "图层样式，详见Style表",
    },
  ],
  options2: [
    {
      name: "id",
      type: "String",
      default: '',
      desc: "区域ID",
    },
    {
      name: "list",
      type: "Array",
      default: '',
      desc: "区域点位集合：[[lon, lat], [lon, lat], ...]",
    },
    {
      name: "style",
      type: "Object",
      default: '',
      desc: "图层样式，详见Style表",
    },
  ],
  options3: [
    {
      name: "color",
      type: "String",
      default: '#F00',
      desc: "区域填充色",
    },
    {
      name: "opacity",
      type: "Number",
      default: 1,
      desc: "区域透明度",
    },
    {
      name: "borderWidth",
      type: "Number",
      default: 0,
      desc: "边框线条宽度",
    },
    {
      name: "borderColor",
      type: "String",
      default: "#000000",
      desc: "边框线条颜色",
    },
    {
      name: "borderDarray",
      type: "Array",
      default: "[1, 0]",
      desc: "线条虚实集合，数组中的数字表示线段和间隔的长度，例如[2, 2]",
    },
  ],
}